.class Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer$DrawerToggler;
.super Ljava/lang/Object;
.source "ZMSlidingDrawer.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "DrawerToggler"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;


# direct methods
.method private constructor <init>(Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;)V
    .registers 2

    .prologue
    .line 1175
    iput-object p1, p0, Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer$DrawerToggler;->this$0:Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer$1;)V
    .registers 3
    .param p1, "x0"    # Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;
    .param p2, "x1"    # Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer$1;

    .prologue
    .line 1175
    invoke-direct {p0, p1}, Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer$DrawerToggler;-><init>(Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;)V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 3
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 1177
    iget-object v0, p0, Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer$DrawerToggler;->this$0:Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;

    # getter for: Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;->mLocked:Z
    invoke-static {v0}, Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;->access$200(Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;)Z

    move-result v0

    if-eqz v0, :cond_9

    .line 1189
    :goto_8
    return-void

    .line 1184
    :cond_9
    iget-object v0, p0, Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer$DrawerToggler;->this$0:Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;

    # getter for: Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;->mAnimateOnClick:Z
    invoke-static {v0}, Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;->access$300(Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;)Z

    move-result v0

    if-eqz v0, :cond_17

    .line 1185
    iget-object v0, p0, Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer$DrawerToggler;->this$0:Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;

    invoke-virtual {v0}, Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;->animateToggle()V

    goto :goto_8

    .line 1187
    :cond_17
    iget-object v0, p0, Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer$DrawerToggler;->this$0:Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;

    invoke-virtual {v0}, Lcom/zuimeia/ui/slidingdrawer/ZMSlidingDrawer;->toggle()V

    goto :goto_8
.end method
